Optimal. Leaf size=70 \[ \frac {1}{3} a \cot (x) \sqrt {a \cot ^4(x)}-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}-a \sqrt {a \cot ^4(x)} \tan (x)-a x \sqrt {a \cot ^4(x)} \tan ^2(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3739, 3554, 8}
\begin {gather*} \frac {1}{3} a \cot (x) \sqrt {a \cot ^4(x)}-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}-a x \tan ^2(x) \sqrt {a \cot ^4(x)}-a \tan (x) \sqrt {a \cot ^4(x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3554
Rule 3739
Rubi steps
\begin {align*} \int \left (a \cot ^4(x)\right )^{3/2} \, dx &=\left (a \sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int \cot ^6(x) \, dx\\ &=-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}-\left (a \sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int \cot ^4(x) \, dx\\ &=\frac {1}{3} a \cot (x) \sqrt {a \cot ^4(x)}-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}+\left (a \sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int \cot ^2(x) \, dx\\ &=\frac {1}{3} a \cot (x) \sqrt {a \cot ^4(x)}-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}-a \sqrt {a \cot ^4(x)} \tan (x)-\left (a \sqrt {a \cot ^4(x)} \tan ^2(x)\right ) \int 1 \, dx\\ &=\frac {1}{3} a \cot (x) \sqrt {a \cot ^4(x)}-\frac {1}{5} a \cot ^3(x) \sqrt {a \cot ^4(x)}-a \sqrt {a \cot ^4(x)} \tan (x)-a x \sqrt {a \cot ^4(x)} \tan ^2(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 39, normalized size = 0.56 \begin {gather*} -\frac {1}{15} \left (a \cot ^4(x)\right )^{3/2} \left (15 x+\cot (x) \left (23-11 \csc ^2(x)+3 \csc ^4(x)\right )\right ) \tan ^6(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 40, normalized size = 0.57
method | result | size |
derivativedivides | \(\frac {\left (a \left (\cot ^{4}\left (x \right )\right )\right )^{\frac {3}{2}} \left (-3 \left (\cot ^{5}\left (x \right )\right )+5 \left (\cot ^{3}\left (x \right )\right )+\frac {15 \pi }{2}-15 \,\mathrm {arccot}\left (\cot \left (x \right )\right )-15 \cot \left (x \right )\right )}{15 \cot \left (x \right )^{6}}\) | \(40\) |
default | \(\frac {\left (a \left (\cot ^{4}\left (x \right )\right )\right )^{\frac {3}{2}} \left (-3 \left (\cot ^{5}\left (x \right )\right )+5 \left (\cot ^{3}\left (x \right )\right )+\frac {15 \pi }{2}-15 \,\mathrm {arccot}\left (\cot \left (x \right )\right )-15 \cot \left (x \right )\right )}{15 \cot \left (x \right )^{6}}\) | \(40\) |
risch | \(\frac {a \left ({\mathrm e}^{2 i x}-1\right )^{2} \sqrt {\frac {a \left ({\mathrm e}^{2 i x}+1\right )^{4}}{\left ({\mathrm e}^{2 i x}-1\right )^{4}}}\, x}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}+\frac {2 i a \sqrt {\frac {a \left ({\mathrm e}^{2 i x}+1\right )^{4}}{\left ({\mathrm e}^{2 i x}-1\right )^{4}}}\, \left (45 \,{\mathrm e}^{8 i x}-90 \,{\mathrm e}^{6 i x}+140 \,{\mathrm e}^{4 i x}-70 \,{\mathrm e}^{2 i x}+23\right )}{15 \left ({\mathrm e}^{2 i x}+1\right )^{2} \left ({\mathrm e}^{2 i x}-1\right )^{3}}\) | \(119\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.60, size = 37, normalized size = 0.53 \begin {gather*} -a^{\frac {3}{2}} x - \frac {15 \, a^{\frac {3}{2}} \tan \left (x\right )^{4} - 5 \, a^{\frac {3}{2}} \tan \left (x\right )^{2} + 3 \, a^{\frac {3}{2}}}{15 \, \tan \left (x\right )^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.87, size = 110, normalized size = 1.57 \begin {gather*} \frac {{\left (23 \, a \cos \left (2 \, x\right )^{3} - a \cos \left (2 \, x\right )^{2} - 11 \, a \cos \left (2 \, x\right ) + 15 \, {\left (a x \cos \left (2 \, x\right )^{2} - 2 \, a x \cos \left (2 \, x\right ) + a x\right )} \sin \left (2 \, x\right ) + 13 \, a\right )} \sqrt {\frac {a \cos \left (2 \, x\right )^{2} + 2 \, a \cos \left (2 \, x\right ) + a}{\cos \left (2 \, x\right )^{2} - 2 \, \cos \left (2 \, x\right ) + 1}}}{15 \, {\left (\cos \left (2 \, x\right )^{2} - 1\right )} \sin \left (2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \cot ^{4}{\left (x \right )}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 57, normalized size = 0.81 \begin {gather*} \frac {1}{480} \, {\left (3 \, \tan \left (\frac {1}{2} \, x\right )^{5} - 35 \, \tan \left (\frac {1}{2} \, x\right )^{3} - 480 \, x - \frac {330 \, \tan \left (\frac {1}{2} \, x\right )^{4} - 35 \, \tan \left (\frac {1}{2} \, x\right )^{2} + 3}{\tan \left (\frac {1}{2} \, x\right )^{5}} + 330 \, \tan \left (\frac {1}{2} \, x\right )\right )} a^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a\,{\mathrm {cot}\left (x\right )}^4\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________